/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dca.sistemascontrole.domain;

import java.io.Serializable;
import org.jfree.data.time.FixedMillisecond;

/**
 *
 * @author Rafael
 */

public class DataObject  implements Serializable{

    private double value;
    private FixedMillisecond millisecond;

    public DataObject(double value, FixedMillisecond millisecond) {
        this.value = value;
        this.millisecond = millisecond;
    }

    public DataObject(float nextValue) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public FixedMillisecond getMillisecond() {
        return millisecond;
    }

    public void setMillisecond(FixedMillisecond millisecond) {
        this.millisecond = millisecond;
    }
}
